package com.mybatis.demo3;

import javax.annotation.Resource;

public class baseService {
	private MybatisDao dao;

	
	public MybatisDao getDao() {
		System.out.println(1);
		return dao;
	}
	@Resource
	public void setDao(MybatisDao dao) {
		this.dao = dao;
	}
	

}
